added assoc bw user and photo, only displays usr's photos on index page, removed field that reads user_id from form