added a remove button under each photo in profile which removes the photo from the database