fixed login log out