add function for delete and insert user photo info in DB (userPhotoManager)