add roles (similar to categories) + fixed advanced search