Working on the modification of Flask-Security to work properly with a RESTful solution.