some update in login controller