Added JSON method for delete analyst. Added custom pages to be shown if an application error or incorrect URI occurs.