Allowed passing of parameters

Allowed the passing of parameters into the controllers instance method.