fix bugs and add block users