Sample code of CI (Controller, Model and View)