LoginController fix