Modified sinatra able to insert values in table