implementing a method for listing clients