remove duplicate meanings by case insensitive match
redirect to homepage if not logged in