really hide the work and logout afterwards