routes should be configured correctly.