You shouldn't new up a hub like that; you can get the hub context and add a user to a group from external code like this:
var hubContext = GlobalHost.ConnectionManager.GetHubContext<NotificationHub>();
hubContext.Groups.Add(connectionId, groupName);