Remove error message and redirect if visit the landingpage when logged in