added getData

initial work on displaying DB information in browser