Preferred Language error relsolved in Browse topic app when user is not logged in.

Changes made get_preferred_lang  template tag.