Implemented database authentication provider