<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def generate_user_token(self, user, salt=None):
 """Generates a unique token associated to the user """

        return self.token_serializer.dumps(str(user.id), salt=salt)