Should localhost:5000 be hardcoded?