Ignore passwords file
Ignore compiled and swap files
Fix some SQL injection vulnerabilities