Added initialization for global variable credentials