added auth function
angular widget serving
removed application fn
injected config from server mount