Move password and db to settings