database for saving attendance