try {
InitialContext ic = CVUtility.getInitialContext();
LoginHome lh = (LoginHome) ic.lookup("Login");
Login remote = (Login) lh.create();
remote.setDataSource(dataSource);
hm = (HashMap) remote.authenticateUser(userName, passwd);
//checking hashmap
if (hm != null && hm.get("userid")!= null && hm.get("individualid")!= null && hm.get("lastName")!= null && hm.get("firstName")!= null ) {
session.set("authenticateUserHashMap", hm);
authenticationString = AUTHENTICATION_SUCCESS_STATUS;
//QBSyncHome qbsh = (QBSyncHome) CVUtility.getHomeObject("com.centraview.qbsync.QBSyncHome", "QBSync");