Fix for logged in/out state