hopefully fixing logout