creating default api routes