Fix some indentation
Add missing die
Fix broken link, move sql query, add autocomplete="off" to forms
Fix another broken link