Changes to LoginController