better logout and currentUser being set