* small modifications for the controllers in order to better use the smarty object