updated sql with new permission tables, standardified the routes & reset the auto increments
added changes to the core module to reflect the routes change