Add ssl in production
clean code for chap 7 exercises