defined user, photo, and event tables...