get and save titles from the server