Refactored adminComponent so get requests are handled slightly more
effective