update logout button