change database for simplification and add secret to config