Implemnted simple example for RBAC with blog posts
Added Behavioural roles handling
 misc refactoring and fixes