add database and passport