Authorization tool kit implemented with PostgreSQL