practice with sinatra and databases