Update server.go

Removing unused code