Adding post controller