enhance resetting password codes