added function to add and get photos. added folder for photos