DreamFactory-Api-Key", app);
						   }
						   if(token != '') {
							   xhr.setRequestHeader("X-DreamFactory-Session-Token", token);
						   }
                           if(auth){
                               xhr.setRequestHeader("Authorization", "Bearer "+auth);
                           }
						   if(accept){
							   xhr.setRequestHeader("Accept", accept);
						   }
						   if(username && password){
							   xhr.setRequestHeader("Authorization", "Basic "+btoa(username+':'+password));
						 