moved controls.pp to pageControlfunctions.php