Fixed Issue #12. Adding role-based authorization.