Added sql statements need to execute userlib.js