changed error handling from @auth.get('response') to @auth.response