register for client