Add ssl for production
Refactor according to excercises