Added password reset email funcationality.