make it better
Added a page controller