Improved login screen, added login error handling