Switched to login by id to allow proper work of verifyCredentials in models