working react with routes