add feature check middleware
Merge pull request #2 from lanetix/feature_check

add feature check middleware