Removed unused code from LoginViewController