switch admin check to decorator
Merge branch 'master' of github.com:appneta/fooscam