Change request.user = user to auth.login()