add /check to test database connection