Added interesting controller logic for pagination & filtration of returned objects