debugging resetting password