refactoring admincontroller
Merge branch 'master' of https://github.com/hadiyannr/PMPL2014-2