added login request and api_user_key logic