adding auto redirect to password reset page