added directives for list,show,and cart