Added code for incrementing views field in Photo schema whenever a user visits a photo detail page