finished modificaton of registation widget