Refactoring admin pages
removing unneeded SQL queries
Merge pull request #4 from alexaverill/Refactor

Refactoring and cleaning up admin area