A simple authorization library