Added user id column to photos