Adding code files for admin

Resubmitting yesterday's code, as it did not get updated correctly