access control fixes and improvements
add edit link
Merge pull request #42 from louridas/master

access control improvements and edit