Added relationship between user and post tables to User model