use insurance overwrite and exract auth and action parsing to classes