Bugfix for authorization
Adds sql for sample data