added user model and post model with user reference