moved login functionality completely to LoginViewController
Significantly improved login behaviour