Remove URL params from homepage when displaying messages