Group tabels and contants in php
Route permission hook, first try