got firebase adding/saving correctly. required restructure of database, the headers now track id as well and has a manual counter to track new ids in database