Refactor routes page for server and add extra pages