Small changes to LoginController