restricted search url with a decorator