add remove confirmation and fix a bug that when ldap disabled, user might not be able to manipulate jobs