logout button stuff
fixed the logout button