Method added to User model for checking user's roles