Revert "change config to connect to DB"

Reverts phuongcv1112/tms#1