modified RegistrationBean to send an email through SendEmail in util