customer rest routes fixed