Added code for the challenger feature and the registration feature