added relationships between users and photos. as well as added some authentication to posting photos