Added orders and ajax functionality to the app