Connection to SQL database from NewEventVC