fixed loading user credentials from db not a local yaml file. This is only for aws