change title
bunch of auth fixes
better default time
serve static assets
fixed mktime
added logout
better logic for logging out ajax request
added redirecting back to correct page after login