```ruby
Rails.application.routes.draw do
  devise_for :users
  get 'w_elcome/index'

root 'w_elcome#index'

resources :notes
  
end
```

Change root based on if user_signed_in?
user
```ruby
Rails.application.routes.draw do
  devise_for :users
  get 'w_elcome/index'
  resources :notes
  authenticated :user do
      root 'notes#index', as: "authenticated_root"
  end

root 'w_elcome#index'
end
```
assistant