Added server code for the admin panel that we wont use
merged with master