util.js created that has helper method user by all database