added navigation service; added UI for the main page