Add blocked user mode and fix some tiny bugs