* updated samples in order to use mvc controller's view method.