move preload team members id to team template so it only loads when that template is called