Changing boolean to string check for logged out parameter