implemented hypermedia for all actions, necessary attributes added