add devise and changes