fixed #136

checks now for create and edit permissions whe enabling the buttons
Merge branch 'bug/136-permissions-addandcreate' into dev