Made logout return bool