database, security & thread initial