Fixing errors with delete users method