fixes logout button