working simple controller and view