private function validateKey(){
		$app = \Slim\Slim::getInstance();
		$key = $app->request->params('auth');

	    if (!$key){
	        $app->redirect('/notkey');
	    }
	    else{
	        if ($key != $this->_key){
	            $app->redirect('/invalidkey');
	        }
	    }
	}