Completed #65.  Changes to enable path based authorisation. Closes #65