edited header files and added admin test file