add remove confirmation and fix a bug that when ldap disabled, user migh...

...t not be able to manipulate jobs