def authenticate(): return Response(json_encode({'ret': 401, 'response': {'text': 'Could not verify your access'}}), mimetype="application/json")