Redirect on the index.html template only if the user is_authenticated()