Factor out static pages
Increase session length
Factor out ensure_id and build_url_with_querystring functions
Add API to pull user info (or prompt them to log in)