Cast to integer all params thar are expected to be an int, in the user api