forgot password and mailgun functionality implementation