Added DB authentication method