def handle_user_get(): """Returns an existing user or creates one""" try: auth0_id = g.user['sub'] user = User(auth0_id) return user.dump() except Exception as e: return default_error_responce(e)