Bugfixes in user add and delete