added validation for admin portal APIs
Merge pull request #595 from skpcharles/master

added validation for admin portal APIs