working on post controller methods