Fixed Login Refresh issue

you don't have to refresh for your login to have an effect on the site now.
Added routeParams

I can now link with some search text as a url param.