update response for registration
add test for registration