public LoginViewHelper getLoginViewHelper(HttpServletRequest req)
			throws UnsupportedEncodingException {
		
		LoginViewHelper loginViewHelper = new LoginViewHelper();
		
		if (req.getParameter("email") != null) {
			loginViewHelper.setEmail(new String(req.getParameter("email")
					.getBytes("iso-8859-1"), "UTF-8"));
		}
		if (req.getParameter("password") != null) {
			loginViewHelper.setPassword(new String(req.getParameter("password")
					.getBytes("iso-8859-1"), "UTF-8"));
		}
		
		return loginViewHelper;
	}