Fixing routing bug.
Adding more expressive routes for permission administration.
Added permission editing

Also added a new permission controller independent of the user
controller.
Updating the database config file.