Added a quick way to logout for testing and added some localstorage stuff