A simple authorisation library