renamed destroy method of server to remove