working version of login process
response_type is a required parameter
do not display errors in production
last fixes for deployment