replaced usages of $_GET with Request::queryParams