added a temporary log out button. This is all hideously clunky at the moment