minor fix in LoginController