Fixed real user and guest user logging out