fixed logout so it actually works