public static Tuple approveFollow(int idFollower, int idFollowed, Connection cnxn) {
		//make sure we have aceptable inputs
		if (idFollower >= 1 && idFollowed >= 1 && cnxn != null) {
			Statement stmnt;
			ResultSet rs;
			String query = "";
			
			try {
				stmnt = cnxn.createStatement();
				
				//verify that a follow request has been sent
				query = "SELECT confirmed FROM Follows WHERE user_id_follower = '" + idFollower + "' AND user_id_followed = '" + idFollowed + "'";
				rs = stmnt.executeQuery(query);
				
				if (rs.next()) {
					if (rs.getBoolean("confirmed")) {
						//already following
						return new Tuple(false, "This user is already following you");
					} else {
						//follow request has been sent. approve it.
						query = "UPDATE Follows SET confirmed = true WHERE user_id_follower = '" + idFollower + "' AND user_id_followed = '" + idFollowed + "'";
						stmnt.execute(query);
						return new Tuple(true, "Approved");
					}
				} else {
					//follow relation hasn't been submitted
					return new Tuple(false, "User hasn't requested to follow you");
				}
			} catch (SQLException ex) {
				return new Tuple(false, ex.getMessage());
			}
		} else {
			return new Tuple(false, "Invalid inputs");
		}
	}