Add handler for client