```ruby
Rails.application.routes.draw do
  devise_for :users, :controllers => { registrations: 'registrations' }
  resources :skills

  root 'skills#index'
  get 'refresh' => 'skills#refresh', as: 'refresh'
end
```

Add route for child sessions controller
user
```ruby
Rails.application.routes.draw do
  devise_for :users, :controllers => { registrations: 'registrations', sessions: 'sessions' }
  resources :skills

  root 'skills#index'
  get 'refresh' => 'skills#refresh', as: 'refresh'
end
```
assistant