Redirect root url depending on logged in status.