Updated AdminPanelController and deleted Counter class.