make join and quit buttons a template