pass alert via query params to homepage