Add features for collections and add photos in gridfs