Adds handling the registration request message and the registration response message