sinatra frontend