Remove unneeded code and add template for send response