Add tempo module

Looks like you're redirecting the user to /index page without waiting for save operation to complete.  Don't you want to put this line inside of save's callback function?