removed rest endpoints