added checking if db_pass is empty