updated for awsServices service, taking it out of controller