Implement Permissions system - Database and Business logic parts