Added a new route to test database queries