ServletBase changed to abstract class so that duplicated code in component classes could be avoided. Added abstract method getUserHeading in ServletBase and implemented it in extending classes