Got the logout working