form auto-submit and server-side redirect implemented