log out error fixed