Added log in/log out support from the UI

Functionality is still a little finnicky because there still isn't a way to detect when an update failed, once that support gets in then the log in/log out functionality will be a little more intuitive and robust