modified some templates and added membership actions