creating one to many relationship between users and posts