added functionality to the "Create Order" button
merging branch with master