fixed db_handler and credentials