User interface: Add database connection