add methods for work with pages in controller