Fixed db authing
Merge branch 'master' of https://github.com/colinmutter/phester-server

* 'master' of https://github.com/colinmutter/phester-server:
  Fix the login redirect
  cleaning up output
  Handle the server's output
  Grab the user ID from the session