Functionality to process registration message