cleanup unused variables

- turn is_admin into a helper and use that instead
- level :info is the default log level
Merge pull request #1132 from mapleoin/cleanup

cleanup unused variables