add register rest