Remove debug code
Fix deprecation warnings
Remove debug code
Fix admin jobs list to handle deleted users