Added cancan to handle access to resources