Script bugfix for users panel
Update SQL
Merge pull request #6 from stephenjust/master

Merge script bugfix and updated sql