added resetpassword support