added cancan; changed Asset to Resource