add download contacts function