Code cleanup. Move over to RPC instead of string handling for web clients. Added login and redirects to UI.
Merge branch 'master' of https://github.com/misko/petbot