functioning login screen