added search results categorized
tweaked capture referer when landing on sign-in page