connected to the database on module init