URL now changes with the proper state of the app