add cancan
add will_paginate
add note resource and add cancan ability