Fix meeee

fix the logout functiuon, too tired.