fixed issue where I couldn't log out user