fixing access checks + removing hook_menu + updating the link formatter