adding request object for plugin routes