added location to segments' views, factories, and validations