checks if the user's  in the queue and logs out nicely