got db authentication working with passport