InternalAccount currentuser = intBo.findUserByusername(name);
if(currentuser.getDeptid() == 3){
ModelAndView modelAndView = new ModelAndView("ListExternalUserAccounts");
List<ExternalAccount> externalAccounts = externalAccountBO.getAllExternalUserAccounts();
ExternalAccount accountbyname = new ExternalAccount();
modelAndView.addObject("accountbyname", accountbyname);
modelAndView.addObject("externalAccounts", externalAccounts);
modelAndView.addObject("currentuser", currentuser);
return modelAndView;
} else{