database config and access point