removed user type dependency on service container