Fixed bug in access rights and better slot handling html and flexibility on names vs id