db settings mixups, pulling out secret key