fix non-user search result not show bug; correct login link in search result page; move links to username dropdown