add status message in registration form