Moved success route to index
Refactored add route