Added user_id to Comment class and amended index and tests so that only registered users can comment on a photo