if(typeofnick!=='string')returncallback(newTypeError('nick is not a string::database.addUser('+nick+','+email+','+pass+','+group+',callback)',module.filename));
if(typeofemail!=='string')returncallback(newTypeError('email is not a string::database.addUser('+nick+','+email+','+pass+','+group+',callback)',module.filename));
if(typeofpass!=='string')returncallback(newTypeError('pass is not a string::database.addUser('+nick+','+email+','+pass+','+group+',callback)',module.filename));
if(isNaN(group))returncallback(newTypeError('group is not a number::database.addUser('+nick+','+email+','+pass+','+group+',callback)',module.filename));
if(typeofnick!=='string')returncallback(newTypeError('nick is not a string::database.addUser('+nick+','+email+','+passhash+','+group+',callback)',module.filename));
if(typeofemail!=='string')returncallback(newTypeError('email is not a string::database.addUser('+nick+','+email+','+passhash+','+group+',callback)',module.filename));
if(typeofpasshash!=='string')returncallback(newTypeError('passhash is not a string::database.addUser('+nick+','+email+','+passhash+','+group+',callback)',module.filename));
if(isNaN(group))returncallback(newTypeError('group is not a number::database.addUser('+nick+','+email+','+passhash+','+group+',callback)',module.filename));
if(typeofhaystack!=='string'&&typeofhaystack!=='object')returncallback(newTypeError('email or nickname is not a string|object::database.getUser('+haystack+',callback)',module.filename));
if(typeofid!=='string')returncallback(newTypeError('id is not a string::database.updateUserProfile('+id+','+JSON.stringify(obj)+',callback)',module.filename));
if(typeofobj!=='object')returncallback(newTypeError('obj is not an object::database.updateUserProfile('+id+','+JSON.stringify(obj)+',callback)',module.filename));
if(typeofid!=='string')returncallback(newTypeError('id is not a string::database.updateUser('+id+','+JSON.stringify(obj)+',callback)',module.filename));
if(typeofobj!=='object')returncallback(newTypeError('obj is not an object::database.updateUser('+id+','+JSON.stringify(obj)+',callback)',module.filename));
if(typeofid!=='string')returncallback(newTypeError('id is not a string::database.updateNewAction('+id+','+JSON.stringify(options)+',callback)',module.filename));
if(typeofoptions!=='object'&&options!==null)returncallback(newTypeError('obj is not an object::database.updateUserProfile('+id+','+JSON.stringify(obj)+',callback)',module.filename));