Adding account creation and switching functionality to web application.