Fixed some errors
Added error label to the login frame
Cleaned the console output