logged functions accessible by smarty now.