add devise and class