modified model
ajax post working