added get query string eliminated pagination of candidate data
fixed pagination problem with legislators api call