cleaned up code, added DB credentials for RDS