changed currentUser to public