This is your resource to discuss support topics with your peers, and learn from each other.
small screen code for example login screen
I can't think of a sample app that has a login screen but you might want to check the BlackBerry GitHub repositories, if you haven't already. There are lots of examples.
BlackBerry Development Native Samples:
Try this thread