Add SSL in production
Added cleaner flash message code