```ruby
class HomeController < ApplicationController
  def index
    redirect_to new_user_session_path unless user_signed_in?
  end
end
```

Set schema index as home if user is signed in
user
```ruby
class HomeController < ApplicationController
  def index

    if user_signed_in?
      redirect_to schemas_path
    else
      redirect_to new_user_session_path
    end
  end
end
```
assistant