working on post controller