added the ability to sign out and update views