fixed the candidates and candidate pages so they now are able to be navigated to.