template changes and invite system