use FirstOrDefault() method on login method