a few changes at the start of ch 7
finish ch 7
add ssl in production