Added account creation and switching functionality to web application.