create filters for checking roles
add js handler