more order form work, added flash to base template