improvements to devise views and mails
minor tweaks
corrects test
corrects menu
improves modal interface
minor bugfixing with menus and permissions