changed logout to method from a variable, and uncluded response uri use