<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_login_attempt_task(user_agent, ip_address, username, http_accept, path_info, login_valid):
 """ Create a record for the login attempt """

    store_login_attempt(user_agent, ip_address, username,
                        http_accept, path_info, login_valid)