'Return user details from Github account'

def get_user_details(self, response):

    return {'username': response.get('username'), 'email': response.get('email', ''), 'first_name': response.get('first_name', ''), 'last_name': response.get('last_name', '')}
