```ruby
class ApplicationController < Sinatra::Base
  set :views, File.expand_path('../../views', __FILE__)
  set :public_folder, File.expand_path('../../../public', __FILE__)

  get '/' do
    slim :index
  end
end
```

Enable sessions. Used to implement user authentication
user
```ruby
class ApplicationController < Sinatra::Base
  set :views, File.expand_path('../../views', __FILE__)
  set :public_folder, File.expand_path('../../../public', __FILE__)

  enable :sessions

  get '/' do
    slim :index
  end
end
```
assistant