Fixed errors in login screen