clean database script and fix delete user api