logout, raakaversio