database and users insert.js changes for protractor

Fixed some of the insert scripts to work with Protractor