check if username set for logout