added the pages and home controller