Created post controller