logout fix