Move client title printing to a function in utils