add cancan stuff to link helper and tests