added register message for client