use modm to connect to database