User Permissions

- Created permission groups.
- Created permission checking method.