updates to LoginController