Added prod creds and conditional
ADded logic to make frontend aware of prod or not