better api domain lookups
fix user check for manual badge awarding