Add SSl in production
Improve code