Added user_id to database and created associations between post and models