Added request as parameter to template