updated public routes to work with nginx routing