started on loading and saving attendence registry to DB