main page redirection switched