commited before implementing pagination on photography controller