add login check in edit keyphrase
Eliminate nasty warning about missing $uploc