more e2e tests, fixing bugs
share constants between server and client
more helpful error messages when signing in
tried to pre-populate the login screen with username and the checkbox 'already have an account' pre-checked, but now all karma tests are broken because I cannot figure out how to UNCHECK a box.  le sigh.