changes visibility of getRoleForUser to public