Feature/mysql secure

This pull request resolves #2