500 and friendly messages when permissions problems. Closes #127