Hi I don't know how to redirect to a login page if a user is not logged then it won't allow him/her to access inner pages
return $this->response->redirect("controller/action");
controller/action normally will be login (if you have like that)
controller/action
login