remove unused server code