cleanup
Moved setting of default request header to factory