added a form for the individual photos and created photos database