Added functionality to the adminpanel

Mostly tab functionality added