added repository for roles
bugfix setting state of header button
added form-submit with enter, bugfix headerbuttons