Finish authentic and save in the log list

in this program the key number that is read for the wiegand, is compared
with all datas in the ID+door list, if the ID number readed exist and
the first doors bit is one then the acces is permitted, else the acces
is refuse