Updated forgot password functionality