Added security and permssion check proposed by @MarcoXoops #703
Angularjs code clean up
Fixed piHoverInput edit
Fixed issue #667: Error message upon role title edit
Merge pull request #707 from sexnothing/user

Angularjs code clean up