small change in logincontroller