added user_id to Post and defined relation with User