solved story 'lessons can't be created without assining them to a chapter'
error messages upon lesson and chapter creation/update - layout changed to flash messages only