may you can use a fied attached to the user in DB saving that, or save the state in a cookie to avoid that in url parameter