allow passing of username and password