adding permissions views and table, specs not working yet