add function userAndPass file