refactoring and more features on the location#show