Added ajax call to change protege and adviser status.