update auth check
fix auth bug
fix bugs