def write(user, light_user, action, description):
        user = user if user is not None and user.is_authenticated() else None
        return UserHistoryLog.objects.create(user=user,
                                             light_user=light_user,
                                             action=action,
                                             description=description)