added sql code for creation authorities table