passing data for requests route to template