J: testing clearing localStorage
fixing logout and clearing localstorage