remove timezone and store current location ID.
userprefs is already passed to template.