Simplified the order example. Removed the different handlers depending on the permissions.