wins controller for server.rb