altered datamapper setup to allow remote access to databse