modify authorization classes
cleanup some classes int auth and http package