set up self.request.GET if statement

set up self.request.GET if statement