Devise and layout