add db+login file