implemented awakeFromInsert in Order and User