<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 async def login(self, request, id_):
 """Login an user by ID."""

        session = await self.load(request)
        session['id'] = id_