Separated login and register; added user-switch; additional exception handling
Merge TFS Changeset 1290