public ArrayList<UserTuple> buildFriends(){
		
		ArrayList<UserTuple> friendList = new ArrayList<UserTuple>();;
		try {
			ResultSet rslSet = dbMgr.executeQuery("select usrid1 from friend where usrid2='"+userId+"'");
			if(rslSet !=null)
			{
				while(rslSet.next()){
					ResultSet rslSet1 = dbMgr.executeQuery("select id,fname,lname,emailid,avatar from userinfo where id='"+rslSet.getString("usrid1")+"'");
					if(rslSet1.next())
						//friendList.add(new UserTuple(rslSet1.getString("id"), rslSet1.getString("fname") , rslSet1.getString("lname"), rslSet1.getString("emailid")));
						friendList.add(buildUserTuple(rslSet1));
				}
			}
			dbMgr.disconnect();
		} catch (SQLException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		return friendList;
	}