Update login method to incorporate user model's authenticate method