fix user check and index view
debug currentUser view