Changed database login to use the ahauser