create paryer controller