added registration form, directive test