Variables Changes

Added user, password and address to variables file and updated in code.
Also added die for variables non-existance.