Create CRUD functional for post