refatoring ppcontroller and add request params