built the user interface using sinatra