Two-factor authentication via user details