improved user redirection after submits