def get_userpage(user): res = UserManager.get_userpage(user) if res: return Result(Status.OK, **res) else: return Result(Status.Error)