database connection gui finished