Adding routes for API