connects to database (proof of concept)