Adding auto redirecto to post action.

In 1 second the upload action will redirect to index page.