pages controller added

Signed-off-by: nox <dimasavitski@gmail.com>