add change password function, change all keydown event to keyup event