added next redirect to password reset