fixing coding in dashboard view. fixing typo in named query. refactoring dashboard servlet