rename $can_read_pass to $read_password_func