Add client auth

Merged server and clientside branches. Created user service, tests, and a partially working directive to display the username and signout across the site. Directive fixes to come.