add data access layer
access db and get level correctly
display level not correct for some