def verify_token(token): g.user = Member.verify_token(token) if g.user: return True else: return None