Adding post controller listener