added the the ajax to get candidates from db for candidate ctrl
added a selector for events in the candidates view for the admin page