deleted users module and fix some bugs