added post req. to the controller