def update_header(login_response, call_header):
    """Function to process and update the header after login"""

    token = str(login_response).split()[2] + " " + str(login_response).split()[3]
    call_header['Authorization'] = token
    return call_header