def removeuser(authid): try: return Auths.delete_account(authid) except Exception as e: raise InvalidUsage(str(e), status_code=500)
def register(): try: return Auths.register() except Exception as e: raise InvalidUsage(str(e), status_code=500)
def confirm(token): try: return Auths.confirms(token) except Exception as e: raise InvalidUsage(str(e), status_code=500)
def login(): try: return Auths.login() except Exception as e: raise InvalidUsage(str(e), status_code=500)