Url params persists in top nav bar

Hi Joel,
              Now the url params are shown in the top nav bar, even when the values are set manually in the url. Please do have a look and review the code. Please let me know of the results.

Thanks.
this needs to be indented