anal change. switched lat and long in location object
added in query parameters to the findAll function