Change find to findByEmail
Fix using DEFAULT_LOGIN_DURATION const