cleanup the story board and also added the registration component