add getName method for Client