added autocomplete and location for trainers