modify the login out  bug