Add permissions table to database