Added user id column and model associations