add devise and cancan support