fix registration form and add notification message