                     date: moment date, 'DD/MM/YYYY'
                     amount: amount.replace ',', '.'
                     pdfurl: url
+                console.log bill
                 bills.fetched.push bill
     next()

                headers:
                    'User-Agent': userAgent
            request options, (err, res, body) ->
                return next err if err
                data.html = body
                next()

logIn = (requiredFields, bills, data, next) ->

    loginUrl = 'https://www.mon-compte.bouyguestelecom.fr/cas/login'
    billUrl = 'http://www.bouyguestelecom.fr/mon-compte/mes-factures'
    userAgent = 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) ' + \
                'Gecko/20100101 Firefox/36.0'

