remove the currentUser function