Add SSL in production
Improve code