Adding posts CRUD funcionality