JC: Added payment request for each access right (with subaction or without) to index page. added mattr to /lib. Added spec case.