Save connection details into database and retrieve connection name to display in TableViewController