posts model and controller added