testing db login