updated displaydata page to convert database results into an arraylist of hashmaps
working on sql code for displaydata