adds bootstrap flash classes
moves question creation into model, fixes error on after_update