Move actionRoute and actionParams to controller (as there is only one common template for intermediate pages) and pass them as parameter to that template
Minor fixes