public boolean changePwd(LoginForm loginForm) throws SQLException, ClassNotFoundException {
			ConnectionUtility chd = new ConnectionUtility();
			Connection con = null;
			int res;
			boolean b = true;
			PreparedStatement ps = null;
			String uid = loginForm.getUserName();
			String pwd = loginForm.getPassword();
			try {
				con = chd.create();
				ps = con.prepareStatement("Update LoginDetails set password='"+pwd+"'where username='"+uid+"' ");
				res = ps.executeUpdate();
				if(res>0) {
					b= true;
				} else {
					b= false;
				}			
			} catch(Exception e) {
				e.printStackTrace();
			}
			finally {
				 try  {
					con.close();   
				 } catch(Exception e) {
					e.printStackTrace();
				 }
			}
			return b;
		}