adding the ability to pass in user and pwd