add site error view
update
fix auth bugs