Some more middleman AJAX methods in app.py and other misc

1. authentication works now
2. ID is passed to maps.html and update.html
3. editData for update.js (waiting for oliver's method in db.py)
4. getProfile passing string to maps.js
5. getProfileItems passing JSON object to update.js
6. deleteUser for update.js (waiting for oliver's method in db.py)