Function added to extract citations for a user