Implemented Two Tab Functionalities