removed the need to add username and password in file