currentUser as global var