catching exceptions while searching
pagination uri handling