added some initial location view loggic and slug field for location model