removed redundant /api from URLs