Redirecting to the main page