dev
dev
added postcontroller logic