Add SSL in production
Add tests for eror messages and post-save behaviour