fix login controller actions