added flash alerts
validate aws credentials