Post data again after authorization

I have a cakephp application where there is a form that is visible to visitors who haven't even logged in. If they submit the form without logging in, they are redirected to a login page from where i want them to go back to the add controller with all the submitted form data. Is this possible? If yes, how?