- add method for check role in User model
- refactor code in User model