Licenses database connection