creates the params method to manipulate url params.