move definition of registration view and user profile model to runtest script