slightly less code by refactoring.
use CenaManager instead of EntityManager in resource.
since it is mainly uses Cena for html forms.