added sending email for password reset