Changed 'redirect' to 'callback', gives the developer more flexibility