I'm practicing Codeigniter framework using a small project from my friends. Each pages need to load layout view and content view separately. The layout show users login info (logged or not, name, picture, etc.). The question is, how to show login info for each action efficiently? Most of the action will load the layout view, so i need to do that right.
I do implement a helper to get user model, but is that right?