template tags update to use AnonymousUser if user is not passed in for performance reason