Database select query working. Need to write test for db and incorporate basic jstl functionality