<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def login_details(self):
 """ Gets the login details Returns: List of login details """

        if not self.__login_details:
            self.__login_details = LoginDetails(self.__connection)
        return self.__login_details