Add checking if url has search parameters