authentication class and database file