Minor changes to change the interface provided for users' code
Globalized auth credentials inside the module