added permissions for users/posts/comments/categories.
fixed allowances and permissions