added two missing lines within UserAgentService