got saving and deleting working, but having issues with returning to main page after that happens.