sql connection generated from env file

Don't need to hard code the sql url