finished auth, and redirect to index.