changed post controller