What I want to do is use the token_required function from gentoken.py in class resetPassword which is in resources.py
The token_required function returns current_user