Auth->loginRedirect = '/slides/index'; $this->Auth->loginUrl = '/users/login'; } }