in /chat controller chagne method from get to post