Finally got the ajax to work.
Corrected manageUsers().
Removed manageUsers().