passing responsewriter as pointer
pass bool to request channel