added post controller service entity and dao, not yet tested