Update server.rb

making somes improviments....