0.0.7 in progress, added roles check, cleaned middleware