working version of login process
response_type is a required parameter