updated template, switched to my flask-api fork, added de/encryption via API